using System.ServiceModel.Channels;

namespace Albatross.WCF.Extenions.ServiceModel.Channels
{
    internal sealed class CompressionReplySessionChannel : CompressionReplyChannel, IReplySessionChannel
    {
        private readonly IReplySessionChannel _innerSessionChannel;

        internal CompressionReplySessionChannel(ChannelManagerBase channelManagerBase, IReplySessionChannel innerChannel)
            : base(channelManagerBase, innerChannel)
        {
            _innerSessionChannel = innerChannel;
        }

        #region IReplySessionChannel Members

        public IInputSession Session
        {
            get { return _innerSessionChannel.Session; }
        }

        #endregion
    }
}